const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: './',
  devServer: {
    proxy: {
      '/': {
        // target: 'http://36.111.177.240:8001/',
        // target: 'http://hongshanwangluo.com.cn:8001/',
        target: 'https://console.fupanai.com/',
        secure: false,
        ws: false,
        changeOrigin: true
      }
    }
  },
  configureWebpack: {
    output: {
      filename: '[name].[hash].js',
      chunkFilename: '[name].[hash].js'
    }
  }
})
